﻿ <UserControl
     xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:Didsoft_Silverlight_Controls="clr-namespace:Didsoft.Silverlight.Controls;assembly=Didsoft.Silverlight.Controls" 
             xmlns:Didsoft_Silverlight_Controls_Data="clr-namespace:Didsoft.Silverlight.Controls.Data;assembly=Didsoft.Silverlight.Controls.Data"
             
              xmlns:toolkit="http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit" xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk" 
              x:Class="ICIA.ARojas.Visual.DestinoFisico.VwDestinoFisico"
             
              mc:Ignorable="d" MinHeight="300" MinWidth="680" d:DesignHeight="466" d:DesignWidth="680">

    <Grid x:Name="LayoutRoot" Background="White" Margin="0,0,0,0" >

        <Didsoft_Silverlight_Controls:FormHeader DescriptionText="Asigne cuidadosamente los Destinos" TitleText="ASIGNACION DE DESTINOS (DIVISIONES, REGIMIENTOS, INSTITUCIONES, etc)" Margin="0,0,0,0">
           <Grid>
            <StackPanel Orientation="Horizontal">

                <Grid MinWidth="300">
                        <sdk:TreeView  x:Name="myarbol"  Margin="0,0,0,0" FontSize="13" FontWeight="Bold" />
                </Grid>

                <Didsoft_Silverlight_Controls_Data:DataFormNavigator Margin="0,0,0,0" VerticalAlignment="Stretch" HorizontalAlignment="Stretch">
                   <Grid Margin="0,0,0,0" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" MinHeight="380" MinWidth="372">
                            <TextBlock Height="23" HorizontalAlignment="Left" Margin="10,78,0,0" Name="textBlock1" Text="Codigo:" VerticalAlignment="Top" FontWeight="Bold" />
                            <TextBox Height="23" Margin="124,78,6,0" Name="textBox1" Text="{Binding SelectedItem.Codigo, Mode=TwoWay}" VerticalAlignment="Top" Width="242" />
                            <TextBlock Height="23" HorizontalAlignment="Left" Margin="10,107,0,0" Name="textBlock2" Text="Nombre :" VerticalAlignment="Top" FontWeight="Bold" />
                            <TextBox Height="23" Margin="124,107,6,0" Name="textBox2" Text="{Binding SelectedItem.Nombre, Mode=TwoWay}" VerticalAlignment="Top" Width="242" />
                            <TextBlock Height="23" HorizontalAlignment="Left" Margin="10,136,0,0" Name="textBlock3" Text="Direccion :" VerticalAlignment="Top" FontWeight="Bold" />
                            <TextBox Height="23" Margin="124,136,6,0" Name="textBox3" Text="{Binding SelectedItem.Ubicacion, Mode=TwoWay}" VerticalAlignment="Top" Width="242" />
                            <TextBlock Height="23" HorizontalAlignment="Left" Margin="10,165,0,0" Name="textBlock4" Text="Descripcion :" VerticalAlignment="Top" FontWeight="Bold" />
                            <TextBox Height="23" Margin="124,165,6,0" Name="textBox4" Text="{Binding SelectedItem.Descripcion, Mode=TwoWay}" VerticalAlignment="Top" Width="242" />
                            <TextBlock Height="23" HorizontalAlignment="Left" Margin="10,194,0,0" Name="textBlock5" Text="Responsable :" VerticalAlignment="Top" FontWeight="Bold" />
                            <TextBox Height="23"  Margin="124,194,6,0" Name="textBox5" Text="{Binding SelectedItem.Comandante, Mode=TwoWay}" VerticalAlignment="Top" Width="242" />
                            <TextBlock Height="23" HorizontalAlignment="Left" Margin="10,223,0,0" Name="textBlock6" Text="Sub - Comandante :" VerticalAlignment="Top" FontWeight="Bold" />
                            <TextBox Height="23"  Margin="124,223,6,0" Name="textBox6" Text="{Binding SelectedItem.ICIA, Mode=TwoWay}" VerticalAlignment="Top" Width="242" />
                            <TextBlock Height="23" HorizontalAlignment="Left" Margin="10,252,0,0" Name="textBlock7" Text="Auxiliar :" VerticalAlignment="Top" FontWeight="Bold" />
                            <TextBox Height="23"  Margin="124,252,6,0" Name="textBox7" Text="{Binding SelectedItem.Auxiliar, Mode=TwoWay}" VerticalAlignment="Top" Width="242" />
                            <TextBlock FontWeight="Bold" Height="23" HorizontalAlignment="Left" Margin="10,10,0,0" Name="textBlock8" Text="{Binding MensajeAsignando}" VerticalAlignment="Top" Width="207" />
                            <TextBlock FontWeight="Bold" Height="31" HorizontalAlignment="Left" Margin="10,35,0,0" Name="textBlock9" Text="{Binding NombreDestinoPadre}" VerticalAlignment="Top" Width="356" FontSize="16" Foreground="Red" />
                        </Grid>
                </Didsoft_Silverlight_Controls_Data:DataFormNavigator>
            </StackPanel>
            
        </Grid>
        </Didsoft_Silverlight_Controls:FormHeader>    
    </Grid>
</UserControl>

    
